package engine;

import java.awt.Dimension;

import com.golden.gamedev.GameLoader;
import com.golden.gamedev.GameObject;
import com.golden.gamedev.GameEngine;

public class BubblefishEngine extends GameEngine
{
    
    public static final int TITLE = 0, PLAYING = 1, BEAT_LEVEL = 2, LOST = 3, BEAT_GAME = 4;
    
    private int myLevel = 1;

    public GameObject getGame(int GameID)
    {
        switch(GameID)
        {
        case TITLE: return new IntroMenu(this);
        
        case PLAYING: return new BubblefishBobGame(this, myLevel);
        
        case BEAT_LEVEL: return new EndMenu(this, myLevel);
        
        case LOST: return new LostMenu(this, myLevel);
        
        case BEAT_GAME: return new BeatGameMenu(this);
        }
        return null;
    }
    
    protected void setLevel(int level){
    	myLevel = level;
    }

}
